package com.mc.code.entity;

public class CodeItems {
    private int id;//主键
    private String itemImage;//项目图片
    private  int itemNo;//项目编号
    private int itemType;//项目类型（1：web网站；2：App开发；3：微信公众号；4：小程序；5：HTML应用；6：其他项目）
    private int promulgatorId;//发布人编号
    private double money;//项目标价
    private int day;//项目周期
    private String text;//项目简介
    private int itemCondition;//项目审核状态(1:通过；2：不通过；3：未审核)
    private String demandDocument;//项目需求文件
    private String itemName;//项目名称
    private int itemDid;//项目状态
    private int itemNeedType;//项目招募人类型（1：个人；2团队）
    private String itemNeedText;//项目招募要求描述

    public CodeItems() {
    }

    public CodeItems(String itemImage, int itemNo, int itemType, int promulgatorId, double money, int day, String text, int itemCondition, String demandDocument, String itemName, int itemDid, int itemNeedType, String itemNeedText) {
        this.itemImage = itemImage;
        this.itemNo = itemNo;
        this.itemType = itemType;
        this.promulgatorId = promulgatorId;
        this.money = money;
        this.day = day;
        this.text = text;
        this.itemCondition = itemCondition;
        this.demandDocument = demandDocument;
        this.itemName = itemName;
        this.itemDid = itemDid;
        this.itemNeedType = itemNeedType;
        this.itemNeedText = itemNeedText;
    }

    public CodeItems(int id, String itemImage, int itemNo, int itemType, int promulgatorId, double money, int day, String text, int itemCondition, String demandDocument, String itemName, int itemDid, int itemNeedType, String itemNeedText) {
        this.id = id;
        this.itemImage = itemImage;
        this.itemNo = itemNo;
        this.itemType = itemType;
        this.promulgatorId = promulgatorId;
        this.money = money;
        this.day = day;
        this.text = text;
        this.itemCondition = itemCondition;
        this.demandDocument = demandDocument;
        this.itemName = itemName;
        this.itemDid = itemDid;
        this.itemNeedType = itemNeedType;
        this.itemNeedText = itemNeedText;
    }

    @Override
    public String toString() {
        return "CodeItems{" +
                "id=" + id +
                ", itemImage='" + itemImage + '\'' +
                ", itemNo=" + itemNo +
                ", itemType=" + itemType +
                ", promulgatorId=" + promulgatorId +
                ", money=" + money +
                ", day=" + day +
                ", text='" + text + '\'' +
                ", itemCondition=" + itemCondition +
                ", demandDocument='" + demandDocument + '\'' +
                ", itemName='" + itemName + '\'' +
                ", itemDid=" + itemDid +
                ", itemNeedType=" + itemNeedType +
                ", itemNeedText='" + itemNeedText + '\'' +
                '}';
    }


    public String getItemNeedText() {
        return itemNeedText;
    }

    public void setItemNeedText(String itemNeedText) {
        this.itemNeedText = itemNeedText;
    }

    public int getItemNeedType() {
        return itemNeedType;
    }

    public void setItemNeedType(int itemNeedType) {
        this.itemNeedType = itemNeedType;
    }

    public int getItemDid() {
        return itemDid;
    }

    public void setItemDid(int itemDid) {
        this.itemDid = itemDid;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getItemImage() {
        return itemImage;
    }

    public void setItemImage(String itemImage) {
        this.itemImage = itemImage;
    }

    public int getItemNo() {
        return itemNo;
    }

    public void setItemNo(int itemNo) {
        this.itemNo = itemNo;
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public int getPromulgatorId() {
        return promulgatorId;
    }

    public void setPromulgatorId(int promulgatorId) {
        this.promulgatorId = promulgatorId;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getItemCondition() {
        return itemCondition;
    }

    public void setItemCondition(int itemCondition) {
        this.itemCondition = itemCondition;
    }

    public String getDemandDocument() {
        return demandDocument;
    }

    public void setDemandDocument(String demandDocument) {
        this.demandDocument = demandDocument;
    }
}
